﻿ALTER TABLE [dbo].[Messages]
    ADD CONSTRAINT [FK_Messages_InboxType] FOREIGN KEY ([InboxType]) REFERENCES [dbo].[MessageInboxType] ([InboxId]) ON DELETE NO ACTION ON UPDATE NO ACTION;

